﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TechCraftEngine.WorldEngine;

namespace Blox
{
    class BlockList : List<BlockType>
    {
        public BlockType SelectedItem { get { return this._selitem; } set { this._selitem = value; } }
        private BlockType _selitem;
        public int SelectedItemIndex { get { return this.selitemindex; } set { this.selitemindex = value; } }
        private int selitemindex = 0;

        public BlockList()
        {
            _selitem = this[selitemindex];
        }

        public void NextBlock()
        {
            if (selitemindex < 12)
            {
                selitemindex++;
            }
        }
    }
}
